cask "sqlectron" do
  version "1.30.0"
  sha256 "a31c2c0cd892d814590ebe2cca5f18578e534a75e55d9ac07ac0f71b182cb3da"

  # github.com/sqlectron/sqlectron-gui/ was verified as official when first introduced to the cask
  url "https://github.com/sqlectron/sqlectron-gui/releases/download/v#{version}/Sqlectron-#{version}-mac.zip"
  appcast "https://github.com/sqlectron/sqlectron-gui/releases.atom"
  name "Sqlectron"
  homepage "https://sqlectron.github.io/"

  app "Sqlectron.app"

  zap trash: [
    "~/.sqlectron.json",
    "~/Library/Application Support/Sqlectron",
  ]
end
